#ifndef MAIN_H
#define MAIN_H

#include "frustum.h"

#define GL_TEXTURE0_ARB	0x84C0
#define GL_TEXTURE1_ARB	0x84C1
#define MAX_TEXTURES 1000

typedef void (APIENTRY * PFNGLACTIVETEXTUREARBPROC) (GLenum target);
typedef void (APIENTRY * PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);

extern PFNGLACTIVETEXTUREARBPROC glActiveTextureARB;
extern PFNGLCLIENTACTIVETEXTUREARBPROC glClientActiveTextureARB;

extern float gamma;

extern Frustum frustum;
extern int visibleFaces;

#endif //MAIN_H